home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
dskut
/
jp_du11.zip
/
DU.DOC
< prev
next >
Wrap
Text File
|
1990-04-17
|
2KB
|
52 lines
Disk Recursive Usage utility
Copyright 1990 Jussi Puttonen
Permission is granted to freely use, copy, modify, and redistribute
this software, provided that no attempt is made to gain profit from it,
the author is not construed to be liable for any results of using this
software.
Calculates the total size and count of the files
in the given directory and it's subdirectories.
Use: du [-t] [-d#] [-a] [dirspec] ...
du -h
Uses current directory at default. If more than
one directory is given, counts also grand total.
Options:
-t Technical output (Numbers are displayed like 999999 instead
of the default 999,999) Useful when the output from du is
consumed by another program.
-d# Stops reporting subtotals at depth #. See example below.
A space between option letter and the number is not allowed.
-a Report also hidden and system files
-h Shows help information
Examples:
du -a \
Will report the total size of all files on default
disk. Use chkdsk, if you want to see also the size
taken by the directory structure itself.
du -d2 c:\q* . d:\foo
Will calculate the total size of the files in all
root directories on drive c: which begin with letter 'q',
in current directory, and in directory d:\foo.
Reports only two levels of subdirectories.
Author:
Please, send bug reports and other comments to
Jussi Puttonen
Internet: jpp@utu.fi